<?php
if(!empty ($this->arrAlbums)&&count($this->arrAlbums)>0){
    $arrAlbums = array_values($this->arrAlbums);
}
?>
<div id="backgroundPopup"></div>
<div class="popup_email" id="popup_email" style="display: none;">
    <div class="title_popup">
        <div class="left">Email</div>
        <div class="right">
            <a href="javascript:;" onclick="return disablePopup();">
                <img class="close-btn" alt="" src="<?php echo $this->config['images'];?>/buttons/close-btn.gif">
            </a>
        </div>
        <div class="clear">&nbsp;</div>
    </div>

    <div class="content_popup_email">
        <form action="" name="send_mai" method="post" id="send_mai">
            <table class="pop_email" id="pop_email">
                <tr>
                    <td class="w140 txt_gray txt_right"><b>Email của bạn</b></td>
                    <td class="w400"><input class="w360" name="sender_email" id="sender_email"/></td>
                </tr>
                <tr>
                    <td class="w140 txt_gray txt_right"><b>Tên của bạn</b></td>
                    <td class="w400"><input class="w360" name="sender_name" id="sender_name"/></td>
                </tr>
                
                <tr>
                    <td class="w140 txt_gray txt_right"><b>Gửi đến(To)</b></td>
                    <td class="w400"><input class="w360" name="receiver_mail" id="receiver_mail"/></td>
                </tr>
                <tr>
                    <td class="w140 txt_gray txt_right"><b>Tiêu đề(Subject)</b></td>
                    <td class="w400"><input class="w360" name="title_email" id="title_email" value="<?php if(!empty ($arrAlbums)&&count($arrAlbums)>0){echo $this->escape($arrAlbums[0]['title']);}?>" /></td>
                </tr>
                <tr>
                    <td class="w140 txt_gray txt_right"><b>Thông điệp<br />(Message)</b></td>
                    <td class="w400"><textarea class="w360 h100" name="message_mail" id="message_mail"></textarea></td>
                </tr>
                 <tr>
                    <td class="w140 txt_gray txt_right">&nbsp;</td>
                    <td class="w400">
                        <input type="button" value="Gửi" class="btn_send" id="btn_send" />
                        <p class="error"></p>
                    </td>
                </tr>
            </table>
            <input type="hidden" id="url" name="url" value="" />
        </form>
    </div>
</div>
<div id="empty_comment_from" style="display:none;">
  <div class="lightbox-content01">
    <!--Begin Inform-->
    <div class="main_box_vipham">
    	<div class="box_suscess">
            <div class="main_content_suscess">
                <p class="txt_center"><b>Bạn chưa nhập nội dung bình luận.</b></p>              
            </div>
            <div class="txt_bottom txt_note txt_center">
            <input id="bt_close_empty_comment_from" type="button" value="Đóng" class="btn_finish" onclick="javascript:Lightbox.hide();return false;">
            </div>
        </div>
        <div class="clear">&nbsp;</div>
    </div>
    <!--End Inform-->
  </div>
</div>
<script language="javascript" type="text/javascript" src="<?php echo $this->config['js']; ?>/sendmail.js"></script>
